import React from 'react';
import { connect } from 'dva';
import styles from '../components/layout/common.css';
import SiderDemo from './main';



function Layouts({ location ,dispatch,children}) {

 
    return (
      <div  className={styles.layoutContent}>
        <SiderDemo  location={location}>{children}</SiderDemo>
      </div>
    );
}

export default Layouts;

